//
//  XYChannelListViewController.m
//  新项目
//
//  Created by xmy on 2017/2/24.
//  Copyright © 2017年 xmy. All rights reserved.
//

#import "XYChannelListViewController.h"
#import "WYChannelModel.h"

@interface XYChannelListViewController ()
/**
 *  当前页面的新闻列表
 */
@property (nonatomic, strong) NSArray *newsList;
/**
 *  当前界面的列表视图
 */
@property (nonatomic, weak) UITableView *tableView;

@property (nonatomic, strong) WYChannelModel *model;

@end

@implementation XYChannelListViewController

- (instancetype)initWithModel:(WYChannelModel *)model
{
    self = [super init];
    if (self) {
        self.model = model;
    }
    return self;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.view.backgroundColor = [UIColor randomColor];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
